import React from "react";
import {Input} from 'antd';
import './Search.css'

const {Search: Index} = Input;

class Search extends React.Component {
    /**
     * @author: RenLishisan
     * @description: 订单搜索组件，目前功能还没有开始写
     * @param: value
     * @return: upDataSource
     * @time: 2020/10/30
     **/
    onSearch = (value) => {
        console.log(value)
    };

    render() {
        return (
            // 引用AntD搜索组件
            <Index
                className='order-search-a'
                onSearch={this.onSearch}
                placeholder="点击搜索订单"
            />
        )
    }
}

export default Search;